Skip to content

Conversation

@salmanmkc
Copy link

Summary

Upgrade GitHub Actions to their latest versions to ensure compatibility with Node 24, as Node 20 will reach end-of-life in April 2026.

Changes

Action Old Version(s) New Version Release Files
actions/cache v4 v5 Release tpu-nightly-regression.yml, tpu-tests.yml
actions/checkout v4 v6 Release cpu-tests.yml, pypi_release.yml, tpu-nightly-regression.yml, tpu-tests.yml
actions/setup-python v4, v5 v6 Release build_package.yml, cpu-tests.yml, pypi_release.yml

Context

Per GitHub's announcement, Node 20 is being deprecated and runners will begin using Node 24 by default starting March 4th, 2026.

Why this matters

  • Node 20 EOL: April 2026
  • Node 24 default: March 4th, 2026
  • Action: Update to latest action versions that support Node 24

Security Note

Actions that were previously pinned to commit SHAs remain pinned to SHAs (updated to the latest release SHA) to maintain the security benefits of immutable references.

Testing

These changes only affect CI/CD workflow configurations and should not impact application functionality. The workflows should be tested by running them on a branch before merging.

@wang2yn84
Copy link
Collaborator

We had some issue with our CI, can you rebase past #919?

@salmanmkc
Copy link
Author

We had some issue with our CI, can you rebase past #919?

Sure

@salmanmkc salmanmkc force-pushed the upgrade-github-actions-node24 branch 2 times, most recently from a7a76ac to afdb332 Compare December 18, 2025 22:47
@salmanmkc
Copy link
Author

We had some issue with our CI, can you rebase past #919?

Rebased on top of #919 - thanks for the heads up!

@wang2yn84
Copy link
Collaborator

Sorry, I had couple of follow up PRs to fix the workflow and it's back to green now. Can you rebase one more time to head?

@salmanmkc salmanmkc force-pushed the upgrade-github-actions-node24 branch from afdb332 to 82c3c18 Compare December 19, 2025 00:22
@salmanmkc
Copy link
Author

Sorry, I had couple of follow up PRs to fix the workflow and it's back to green now. Can you rebase one more time to head?

All good, thanks! Rebased to head

@wang2yn84
Copy link
Collaborator

Can you squash your commits before we merge?

Upgrade GitHub Actions to their latest versions to ensure compatibility with Node 24, as Node 20 will reach end-of-life in April 2026.

Changes:
- actions/cache: v4 → v5
- actions/checkout: v4 → v6
- actions/setup-python: v4, v5 → v6
@salmanmkc salmanmkc force-pushed the upgrade-github-actions-node24 branch from 82c3c18 to b43fcc2 Compare December 19, 2025 19:19
@salmanmkc
Copy link
Author

Can you squash your commits before we merge?

Sure, done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants